Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor language service #137

Merged
merged 7 commits into from
Apr 24, 2024
Merged

Refactor language service #137

merged 7 commits into from
Apr 24, 2024

Conversation

wkillerud
Copy link
Owner

@wkillerud wkillerud commented Apr 23, 2024

The internals of the language server are now more uniform. All parts
are working on the same parsed data structure instead of being a mix
of three different parsers.

This refactor includes a private fork of vscode-css-languageservice.
It holds the parser and link resolution, and some language features
we either extend, modify, or forward. It's kept as a separate package
to hopefully make it easier to keep up with upstream, and to send
patches upstream as well.

The goal with this refactor is to pay down technical debt and make it
easier for new developers to become contributors.

The goal with the documentation is to help users get the most out of
Some Sass and to help attract and onboard new contributors.

@wkillerud wkillerud force-pushed the refactor-language-service branch from d5073ad to d7c7705 Compare April 23, 2024 18:31
The internals of the language server are now more uniform. All parts
are working on the same parsed data structure instead of being a mix
of three different parsers.

This refactor includes a private fork of vscode-css-languageservice.
It holds the parser and link resolution, and some language features
we either extend, modify, or forward. It's kept as a separate package
to hopefully make it easier to keep up with upstream, and to send
patches upstream as well.

A goal with this refactor is to make it easier to maintain the codebase
both for myself and for new contributors.
@wkillerud wkillerud force-pushed the refactor-language-service branch 3 times, most recently from eef647d to a6d35c6 Compare April 24, 2024 17:19
@wkillerud wkillerud mentioned this pull request Apr 24, 2024
2 tasks
To save ourselves a build-step and make it easier to debug.
A goal is to make it easier for new contributors to get started.
@wkillerud wkillerud force-pushed the refactor-language-service branch from a6d35c6 to 3398d7b Compare April 24, 2024 18:20
These can come at times when the document is in a broken state,
for instance bad links. Handle exceptions by swallowing them.
The editor can always try again later.
@wkillerud wkillerud merged commit 79e81a5 into main Apr 24, 2024
5 checks passed
@wkillerud wkillerud deleted the refactor-language-service branch April 24, 2024 19:05
Copy link

🎉 This PR is included in version 1.2.0 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

Copy link

🎉 This PR is included in version 3.1.0 🎉

The release is available on Visual Studio Marketplace

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant